package com.example.musicapp.contract;

import com.example.musicapp.base.IBasePresenter;
import com.example.musicapp.base.IBaseView;
import com.example.musicapp.network.HttpResponseListener;

public interface IHomeContract {


    /*** view 层接口 */
    public interface HomeUi extends IBaseView {
/*        *//*** 登录成功 *//*
        void loginSuccess();

        *//**
         * 登录失败
         *//*
        void loginFailure();*/
    }

    /*** presenter 层接口 */
    public interface HomePresenter extends IBasePresenter {

        void exitLogin();
    }

    /*** model 层接口 */
    public interface HomeModel {
        void login(String username, String password, HttpResponseListener callBack);
    }



}
